/****************************************************************************
** Meta object code from reading C++ file 'bible_widget.h'
**
** Created: Tue Jan 23 10:12:21 2007
**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "bible_widget.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bible_widget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.2.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

static const uint qt_meta_data_BibleWidget[] = {

            // content:
            1,       // revision
            0,       // classname
            0,    0, // classinfo
            7,   10, // methods
            0,    0, // properties
            0,    0, // enums/sets

            // signals: signature, parameters, type, tag, flags
            26,   13,   12,   12, 0x05,

            // slots: signature, parameters, type, tag, flags
            60,   54,   12,   12, 0x0a,
            77,   54,   12,   12, 0x0a,
            95,   54,   12,   12, 0x0a,
            115,   12,   12,   12, 0x0a,
            135,  130,   12,   12, 0x0a,
            155,  151,   12,   12, 0x0a,

            0        // eod
        };

static const char qt_meta_stringdata_BibleWidget[] = {
            "BibleWidget\0\0body,caption\0"
            "show_verse(QString,QString)\0value\0"
            "change_book(int)\0change_verse(int)\0"
            "change_chapter(int)\0update_verse()\0"
            "show\0show_hide(bool)\0val\0sync_verse(bool)\0"
        };

const QMetaObject BibleWidget::staticMetaObject = {
            { &QWidget::staticMetaObject, qt_meta_stringdata_BibleWidget,
              qt_meta_data_BibleWidget, 0
            }
        };

const QMetaObject *BibleWidget::metaObject() const
{
    return &staticMetaObject;
}

void *BibleWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_BibleWidget))
        return static_cast<void*>(const_cast<BibleWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

int BibleWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0:
            show_verse((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 1:
            change_book((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2:
            change_verse((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3:
            change_chapter((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4:
            update_verse(); break;
        case 5:
            show_hide((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6:
            sync_verse((*reinterpret_cast< bool(*)>(_a[1]))); break;
        }
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void BibleWidget::show_verse(QString _t1, QString _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
